package com.ruochen.recipe.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 菜谱
 */
public class CookbookEntity implements Serializable {

    private List<CookDishEntity> childList;
    private String mName;

    public CookbookEntity(String name, List<CookDishEntity> list) {
        childList = list;
        mName = name;
    }

    public String getName() {
        return mName == null ? "" : mName;
    }

    public List<CookDishEntity> getChildList() {
        return childList;
    }

    public void setChildList(List<CookDishEntity> childList) {
        this.childList = childList;
    }
}
